<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>MRtrix documentation</title>
<link rel="stylesheet" href="../stylesheet.css" type="text/css" media=screen>
</head>
<body>

<table class=nav>
<tr>
<td><a href="mrstats.html"><img src="../left.png"></a></td>
<td><a href="index.html"><img src="../up.png"></a></td>
<td><a href="../index.html"><img src="../home.png"></a></td>
<th>mrtransform</th>
<td><a href="mrview.html"><img src="../right.png"></a></td>
</tr>
</table>
<h2>Description</h2>
<p>
apply spatial transformations or reslice images.
</p>
<p class=indented><strong>syntax:</strong> &nbsp; &nbsp; mrtransform [ options ] input [ input ... ] output </p>
<h2>Arguments</h2>
<table class=args>
<tr><td><b>input</b> [ multiples allowed ]</td>
<td>input image to be transformed.</td></tr>
<tr><td><b>output</b></td>
<td>the output image.</td></tr>
</table>
<h2>Options</h2>
<table class=args>
<tr><td><b>-transform</b>&nbsp;<i>transform</i></td>
<td>specified the 4x4 transform to apply.
<table class=opts>
<tr><td><i>transform</i></td>
<td>the transform to apply, in the form of a 4x4 ascii file.</td></tr>
</table></td></tr>
<tr><td><b>-replace</b></td>
<td>replace the current transform by that specified, rather than applying it to the current transform.</td></tr>
<tr><td><b>-inverse</b></td>
<td>invert the specified transform before using it.</td></tr>
<tr><td><b>-template</b>&nbsp;<i>image</i></td>
<td>reslice the input image to match the specified template image.
<table class=opts>
<tr><td><i>image</i></td>
<td>the template image.</td></tr>
</table></td></tr>
<tr><td><b>-reference</b>&nbsp;<i>image</i></td>
<td>in case the transform supplied maps from the input image onto a reference image, use this option to specify the reference. Noe that this implicitly sets the -replace option.
<table class=opts>
<tr><td><i>image</i></td>
<td>the reference image.</td></tr>
</table></td></tr>
<tr><td><b>-flipx</b></td>
<td>assume the transform is supplied assuming a coordinate system with the x-axis reversed relative to the MRtrix convention (i.e. x increases from right to left). This is required to handle transform matrices produced by FSL's FLIRT command. This is only used in conjunction with the -reference option.</td></tr>
<tr><td><b>-info</b></td>
<td>display information messages.</td></tr>
<tr><td><b>-quiet</b></td>
<td>do not display information messages or progress status.</td></tr>
<tr><td><b>-debug</b></td>
<td>display debugging messages.</td></tr>
<tr><td><b>-help</b></td>
<td>display this information page and exit.</td></tr>
<tr><td><b>-version</b></td>
<td>display version information and exit.</td></tr>
</table>
</body>
</html>